package com.helloandroid.paso.ui.mediaplayer;

public class Helper {
	
	//Simple helper method to extract filenames from the end of URLs
	public static String getFilenameFromURL(String url){
		int slash = url.lastIndexOf("/");
				
		if(slash > -1)
			return url.substring(slash + 1);
		else
			return url;
	}
}
